import { Controller, Get } from '@nestjs/common';
import { ApiTags, ApiOperation } from '@nestjs/swagger';

@ApiTags('默认')
@Controller()
export class AppController {
  @Get()
  @ApiOperation({ summary: '欢迎页面' })
  getHello() {
    return {
      message: '欢迎使用家庭菜谱推荐系统',
      docs: '/api',
      endpoints: {
        recipes: '/recipes',
        families: '/families'
      }
    };
  }
}